package com.focus.xyz.core.utils;

import com.focus.xyz.core.utils.prop.ConfigPropInfo;

/**
 * Created by chenmeng on 2016/5/27.
 */
public class SikuliUtil {
    private static final String prefix = ConfigPropInfo.TEST_DATA_DIR + "sikuli/";

    public static void flashUpload(String upload,String open,String filepath,String path) throws Exception{
        /*Screen screen = new Screen();
        Pattern upl = new Pattern(prefix + upload);
        Pattern opn = new Pattern(prefix + open);
        Pattern fp = new Pattern(prefix + filepath);
        screen.click(upl);
//        screen.wait(1000l);
        screen.paste(fp,path);
//        screen.paste(path);
//        screen.paste("E");
//        screen.wait(1000l);
//        Thread.sleep(1500l);
        screen.click(opn);*/
    }

}
